package com.lin.po;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
@ToString
public class Orders extends BasePo{

    // SUCCESS--支付成功
    //REFUND--转入退款
    //NOTPAY--未支付
    //CLOSED--已关闭
    //USERPAYING--用户支付中
    public final static String TRX_STATUS_SUCCESS="SUCCESS";  //订单完成  即确认完成
    public final static String TRX_STATUS_PAY_SUCCESS="PAY_SUCCESS"; //付款完成
    public final static String TRX_STATUS_REFUND="REFUND";  //已退款
    public final static String TRX_STATUS_APPREF="APPREF";  //申请退款-->REFUND
    public final static String TRX_STATUS_NOTPAY="NOTPAY";  //未支付
    public final static String TRX_STATUS_CLOSED="CLOSED";  //关闭订单
    public final static String TRX_STATUS_USERPAYING="USERPAYING";  //付款中
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.ORDER_NO
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Long orderNo;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.COMMODITY_NO
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Long commodityNo;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.CUSTOMER_ID
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Long customerId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.INST_DATE
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String instDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.INST_TIME
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String instTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.PAY_TYPE
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String payType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.TRAD_CHNL
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String tradChnl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.TRX_AMT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private BigDecimal trxAmt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.SALE_COUNT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Integer saleCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.CASH_PAY_AMT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private BigDecimal cashPayAmt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.POINT_PAY_AMT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private BigDecimal pointPayAmt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.COUPON_PAY_AMT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private BigDecimal couponPayAmt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.REFUND_AMT
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private BigDecimal refundAmt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.PAY_TIME
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String payTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.APPREF_TIME
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String apprefTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.TRX_STATUS
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String trxStatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.BODY
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String body;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.CREATE_ID
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Long createId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.CREATE_TIME
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.UPDATE_ID
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private Long updateId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cs_orders.UPDATE_TIME
     *
     * @mbg.generated Mon Jul 25 21:21:54 CST 2022
     */
    private String updateTime;

    private TranslateSetup translate;
}